# -*- coding: utf-8 -*-
from datetime import timedelta
from airflow.operators.dummy_operator import DummyOperator

from .sync_day1 import jms_ods__tab_report_errorbagging_detail__t_1
from .sync_day2 import jms_ods__tab_report_errorbagging_detail__t_2
from .sync_day3 import jms_ods__tab_report_errorbagging_detail__t_3

jms_ods__tab_report_errorbagging_detail = DummyOperator(
    task_id='jms_ods__tab_report_errorbagging_detail',
    email=['chenhongping@yl-scm.com','yl_bigdata@yl-scm.com'],
    retries=0,
    priority_weight=0,
    sla=timedelta(hours=7),
)

jms_ods__tab_report_errorbagging_detail << [jms_ods__tab_report_errorbagging_detail__t_1,
                                            jms_ods__tab_report_errorbagging_detail__t_2,
                                            jms_ods__tab_report_errorbagging_detail__t_3, ]
